package org.pc2r.protocole;

public enum EnumRequest {

  WELCOME("WELCOME"), ACCESSDENIED("ACCESSDENIED"), SHIP("SHIP"), PUTSHIP("PUTSHIP"), ALLYOURBASE("ALLYOURBASE"), YOURTURN("YOURTURN"), CONNECT(
      "CONNECT"), ACTION("ACTION"), MISS("MISS"), OUCH("OUCH"), TOUCH("TOUCH"), DRAWGAME("DRAWGAME"), AWINNERIS("AWINNERIS"), PLAYAGAIN("PLAYAGAIN"), BYE(
      "BYE"), PLAYERS("PLAYERS"), WRONG("WRONG"), OK("OK"), DEATH("DEATH");

  final private String request;

  private EnumRequest(String request) {
    this.request = request;
  }

  public final String getRequest() {
    return request;
  }

  @Override
  public final String toString() {
    return getRequest();
  }
}
